<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
    <!-- <el-button>默认按钮</el-button>
    <el-button type="primary">主要按钮</el-button>
    <el-button type="success">成功按钮</el-button>
    <el-button type="info">信息按钮</el-button>
    <el-button type="warning">警告按钮</el-button>
    <el-button type="danger">危险按钮</el-button>
    <el-button size="large" round>大圆角按钮</el-button>
    <el-button size="small" round>小圆角按钮</el-button>
    <el-button disabled>禁用按钮</el-button>
    <el-button @click="handleClick">点击我</el-button> -->

    <!-- App.vue -->
    <nav>
      <router-link to="/" ><el-button type="success">Home</el-button></router-link>
      &nbsp;
      <router-link to="/hello"><el-button type="danger">Hello</el-button></router-link>
    </nav>
    <router-view ></router-view>

  </div>
</template>

<script>


export default {
  name: 'App',
  components: {
    
  },
  data() {
    return {
      isLoading: false
    };
  },
methods: {
    handleClick() {
      console.log('按钮被点击了！');
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
